#include "MouseInput.h"


bool MouseInput::get_point_input (OUT Array< float >& pointCoord)
{
  if (glbMouseX < 0 || glbMouseY < 0)
    return false;
  if (pointCoord.size () != 2)
    pointCoord.resize (2);
  pointCoord[X] = glbMouseX;
  pointCoord[Y] = glbMouseY;
  return true;
}